package kuoge.practice.kafka.stream.member.rfm;

/**
 * @Description
 */
public class OrderCompletedEvent {
    private final String memberId;
    private final long amountPrice;
    private final long timestamp;

    public OrderCompletedEvent(String memberId, long amountPrice) {
        this.memberId = memberId;
        this.amountPrice = amountPrice;
        this.timestamp = System.currentTimeMillis();
    }

    public String getMemberId() {
        return memberId;
    }

    public long getAmountPrice() {
        return amountPrice;
    }

    public long getTimestamp() {
        return timestamp;
    }
}
